home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
netutils
/
nb22.arj
/
RUNCOMM.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-12-02
|
1KB
|
34 lines
@echo off
rem *** Runcomm.bat - Version 2.0
rem ***
rem *** Runcomm is a special batch file to be used when implementing a menu
rem *** option which runs any DOS command. The menu option should be called
rem *** something like 'Run a DOS Command' and the actual command line
rem ** should be similar to the following (depending on the installation
rem *** disk and directory):
rem ***
rem *** x:\notice\runcomm %%
rem ***
rem *** The parameter %% will cause the user to be prompted when the menu
rem *** option is run and the prompt should be 'DOS Command:'. Whatever
rem *** the user enters will be passed to runcomm.bat to be executed by the
rem *** following command line:
rem ***
cls
%1 %2 %3 %4 %5 %6 %7 %8 %9
pause
rem ***
rem *** Note: The Notice Board command only requests a single parameter
rem *** using one %% string, however, the user can type a full DOS
rem *** command which may take several parameters and switches. It
rem *** is important, therefore, to put all 9 possible DOS batch
rem *** parameters in the above command line to ensure that all of the
rem *** user's parameters and switches are carried through.
rem ***
rem *** Replace the following with the commands to restart NOTICE BOARD,
rem *** such as:
rem
rem c:
rem cd \notice\
notice